package com.ftg.learn.chapter17.expand;

/**
 * @author KangJx
 * @date 2021/8/16
 */
public class SexIfruleImple<T> implements IfRule<T> {


    @Override
    public boolean test(T t1) {
        return ((Student)t1).getSex().equals("男");
    }
}
